<?php
namespace app\common\validate;

/**
 * StaffValidate
 */
class StaffValidate extends BaseValidate
{
	protected $rule = [
	    'fid' => 'require',
        'fids' => 'require|isArray',
    ];
    
    protected $message=[
        'fid' => 'fid必填',
        'fids' => 'fid的集合必须为数组，并且数组不为空',
		//'account'  => '账号是必须的且不能为空.',
		//'password' => '密码是必须的且不能为空.'
    ];

    protected $scene = [
        //'lists' => [],
        'detail' => ['fid'],
        'async' => ['fids'],
    ];
}